package heap;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ZhengDp
 * @Date 2023/5/12 16:11
 * @Description 垃圾回收后，堆内存占用仍然过高情况
 */
public class Heap_Demo3 {

    public static void main(String[] args) throws InterruptedException {
        List<Student> students = new ArrayList<>();
        for(int i =0;i<200;i++) {
            students.add(new Student());
        }
        Thread.sleep(10000000000000L);
    }
}
class Student {
    private byte[] big = new byte[1024*1024];
}
